package com.example.interviewassistant;

import java.io.Serializable;

/**
 * 面试问题模型类，包含问题类型、问题、期望回答和考察点
 */
public class InterviewQuestion implements Serializable {
    private String questionType;   // 问题类型（客观知识型、实践经验型、思维评估型、主观开放型）
    private String question;       // 问题
    private String expectedAnswer; // 期望回答
    private String keyPoints;      // 考察点
    
    public InterviewQuestion(String question, String expectedAnswer, String keyPoints) {
        this.questionType = ""; // 默认为空
        this.question = question;
        this.expectedAnswer = expectedAnswer;
        this.keyPoints = keyPoints;
    }
    
    public InterviewQuestion(String questionType, String question, String expectedAnswer, String keyPoints) {
        this.questionType = questionType;
        this.question = question;
        this.expectedAnswer = expectedAnswer;
        this.keyPoints = keyPoints;
    }
    
    public InterviewQuestion(String question) {
        this.questionType = "";
        this.question = question;
        this.expectedAnswer = "";
        this.keyPoints = "";
    }
    
    public String getQuestionType() {
        return questionType;
    }
    
    public String getQuestion() {
        return question;
    }
    
    public String getExpectedAnswer() {
        return expectedAnswer;
    }
    
    public String getKeyPoints() {
        return keyPoints;
    }
    
    @Override
    public String toString() {
        return question;
    }
} 